<?php
/**
 * 咨询
 * Enter description here ...
 * @author nijn
 *
 */
class ArticleController extends FrontController {
	public $modelName = 'News';
	
	/**
	 * IndexAction 咨询首页
	 * ListAction 咨询列表
	 * ViewAction 咨询详情 
	 */
	public function actions() {
    	return array_merge(parent::actions(),array(
    		'view'=>array(
    			'class'=>'application.components.actions.front.ViewAction',
    			'modelName'=>'News',
    			'view'=>'view',
    		),
    	));
    }
}

?>